<?php
/**
 * Created by PhpStorm.
 * User: zhangjian37
 * Date: 2016/9/5
 * Time: 13:34
 */
include 'XZRecord.php';

$url=$_POST['url'];

function getGGS($url){
    $xzRecord = new XZRecord();
    $xzRecord->ggs[] = $url . '/images/gg01.jpg';
    $xzRecord->ggs[] = $url . '/images/gg02.jpg';
    $xzRecord->ggs[] = $url . '/images/gg03.jpg';
    return $xzRecord;
}

echo json_encode(getGGS($url));